# coding: utf-8
'''
Created on 25 avr. 2011

@author: shin
'''
import unittest
from business.ElementFactory import ElementFactory

class Test(unittest.TestCase):

    def setUp(self):
        pass
    def tearDown(self):
        pass

    def test_Build_Type(self):
        self.warrior = ElementFactory.build("Guerrier", "Nain")
        self.assertEqual(self.warrior.type, "Vivant")

#perso1 = ElementFactory.build("guerrier", "nain")
#décor1 = ElementFactory.build("décor", "rocher")
#A1 = ElementFactory.build("case", "eau")
#A2 = ElementFactory.build("case", "boue")
#B6 = ElementFactory.build("case", "feu")


if __name__ == "__main__":
    #import sys;sys.argv = ['', 'Test.testName']
    unittest.main()